package com.corpgovernment.organization.operatelog.service.pojo;

import com.corpgovernment.common.annotation.OperateLogFieldDesc;
import com.corpgovernment.common.entity.db.BaseEntity;
import com.corpgovernment.common.enums.CardEnum;
import lombok.Data;

/**
 * @ClassName: OperateLogPojo
 * @description: TODO
 * @author: jiang.luo
 * @date: Created in 16:56 2020/1/2
 * @Version: 1.0
 **/
@Data
public class OperateLogPojo extends BaseEntity {

    /**
     * 公司/部门
     */
    @OperateLogFieldDesc("公司/部门")
    private String orgName;

    /**
     * 角色
     */
    @OperateLogFieldDesc("角色")
    private String roleInfo;

    /**
     * 证件类型1: "身份证",2: "护照", 4: "军人证",10: "港澳通行证", 99: "其他"
     */
    @OperateLogFieldDesc(value = "证件类型",type = CardEnum.class)
    private String cardType;
    /**
     * 证件号
     */
    @OperateLogFieldDesc("证件号")
    private String cardNo;
    /**
     * 用户Id（_SLXXXXXX）
     **/
    @OperateLogFieldDesc("用户id")
    private String uid;

    /**
     * 用户名
     **/
    @OperateLogFieldDesc("姓名")
    private String name;
    /**
     * 手机码
     */
    @OperateLogFieldDesc("手机号")
    private String phone;
    /**
     * 是否是负责人
     */
    @OperateLogFieldDesc("负责人")
    private String isCharge;

    /**
     * 状态 0拒绝，1正常，2待审核，3离职
     */
    @OperateLogFieldDesc(value = "状态")
    private String status;

    /**
     * 职级名称
     */
    @OperateLogFieldDesc("职级")
    private String rank;

    private Integer sta;
}
